<?php


namespace api\channel\fake;


use api\channel\ExtendChannleBase;
use app\model\BaseSupplier;

class FakeChannel extends ExtendChannleBase
{
    public function __construct()
    {
        $baseSupplier = BaseSupplier::where('deleted_at',null)->find();

        $this->supplierInfo = $baseSupplier;
    }

    public function orders($query){
      return  [
            'data' => [
                [
                    'name' => 'liaosp'
                ],
                [
                    'name' => 'liaosp',
                ]
            ],
            'last_page' => 1,
        ];
    }
}